home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11929 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 73 |c.Subjec|t: Re: s|
|00000080| 74 72 69 6e 67 20 73 65 | 61 72 63 68 3f 0a 44 61 |tring se|arch?.Da|
|00000090| 74 65 3a 20 57 65 64 2c | 20 32 37 20 4d 61 72 20 |te: Wed,| 27 Mar |
|000000a0| 31 39 39 36 20 31 34 3a | 33 34 3a 30 35 20 2d 30 |1996 14:|34:05 -0|
|000000b0| 36 30 30 0a 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |600.Orga|nization|
|000000c0| 3a 20 55 6e 69 76 65 72 | 73 69 74 79 20 6f 66 20 |: Univer|sity of |
|000000d0| 49 6f 77 61 2c 20 49 6f | 77 61 20 43 69 74 79 2c |Iowa, Io|wa City,|
|000000e0| 20 49 41 2c 20 55 53 41 | 0a 44 69 73 74 72 69 62 | IA, USA|.Distrib|
|000000f0| 75 74 69 6f 6e 3a 20 77 | 6f 72 6c 64 0a 4d 65 73 |ution: w|orld.Mes|
|00000100| 73 61 67 65 2d 49 44 3a | 20 3c 50 69 6e 65 2e 41 |sage-ID:| <Pine.A|
|00000110| 33 32 2e 33 2e 39 31 2e | 39 36 30 33 32 37 31 34 |32.3.91.|96032714|
|00000120| 33 31 30 31 2e 31 31 39 | 34 38 38 44 2d 31 30 30 |3101.119|488D-100|
|00000130| 30 30 30 40 72 65 64 2e | 77 65 65 67 2e 75 69 6f |000@red.|weeg.uio|
|00000140| 77 61 2e 65 64 75 3e 0a | 52 65 66 65 72 65 6e 63 |wa.edu>.|Referenc|
|00000150| 65 73 3a 20 3c 34 6a 62 | 6d 74 6b 24 37 38 6b 40 |es: <4jb|mtk$78k@|
|00000160| 64 66 77 2d 69 78 6e 65 | 77 73 33 2e 69 78 2e 6e |dfw-ixne|ws3.ix.n|
|00000170| 65 74 63 6f 6d 2e 63 6f | 6d 3e 0a 4e 4e 54 50 2d |etcom.co|m>.NNTP-|
|00000180| 50 6f 73 74 69 6e 67 2d | 48 6f 73 74 3a 20 72 65 |Posting-|Host: re|
|00000190| 64 2e 77 65 65 67 2e 75 | 69 6f 77 61 2e 65 64 75 |d.weeg.u|iowa.edu|
|000001a0| 0a 4d 69 6d 65 2d 56 65 | 72 73 69 6f 6e 3a 20 31 |.Mime-Ve|rsion: 1|
|000001b0| 2e 30 0a 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 3a |.0.Conte|nt-Type:|
|000001c0| 20 54 45 58 54 2f 50 4c | 41 49 4e 3b 20 63 68 61 | TEXT/PL|AIN; cha|
|000001d0| 72 73 65 74 3d 55 53 2d | 41 53 43 49 49 0a 58 2d |rset=US-|ASCII.X-|
|000001e0| 53 65 6e 64 65 72 3a 20 | 72 6f 62 69 6e 73 6f 6e |Sender: |robinson|
|000001f0| 40 72 65 64 2e 77 65 65 | 67 2e 75 69 6f 77 61 2e |@red.wee|g.uiowa.|
|00000200| 65 64 75 0a 49 6e 2d 52 | 65 70 6c 79 2d 54 6f 3a |edu.In-R|eply-To:|
|00000210| 20 3c 34 6a 62 6d 74 6b | 24 37 38 6b 40 64 66 77 | <4jbmtk|$78k@dfw|
|00000220| 2d 69 78 6e 65 77 73 33 | 2e 69 78 2e 6e 65 74 63 |-ixnews3|.ix.netc|
|00000230| 6f 6d 2e 63 6f 6d 3e 20 | 0a 0a 4f 6e 20 32 37 20 |om.com> |..On 27 |
|00000240| 4d 61 72 20 31 39 39 36 | 2c 20 52 69 63 61 72 64 |Mar 1996|, Ricard|
|00000250| 6f 20 4d 6f 72 20 77 72 | 6f 74 65 3a 0a 0a 3e 20 |o Mor wr|ote:..> |
|00000260| 20 20 20 20 48 6f 77 20 | 63 61 6e 20 49 20 73 65 | How |can I se|
|00000270| 61 72 63 68 20 66 6f 72 | 20 61 20 73 74 72 69 6e |arch for| a strin|
|00000280| 67 20 6f 66 20 63 68 61 | 72 61 63 74 65 72 73 20 |g of cha|racters |
|00000290| 77 69 74 68 69 6e 20 61 | 6e 6f 74 68 65 72 20 73 |within a|nother s|
|000002a0| 74 72 69 6e 67 3f 0a 3e | 20 66 6f 72 20 65 78 61 |tring?.>| for exa|
|000002b0| 6d 70 6c 65 2e 2e 0a 0a | 20 20 20 23 69 6e 63 6c |mple....| #incl|
|000002c0| 75 64 65 20 3c 73 74 72 | 69 6e 67 2e 68 3e 0a 0a |ude <str|ing.h>..|
|000002d0| 20 20 20 63 68 61 72 20 | 2a 73 75 62 73 74 72 20 | char |*substr |
|000002e0| 3d 20 22 66 69 6e 64 22 | 2c 0a 09 2a 73 74 72 20 |= "find"|,..*str |
|000002f0| 3d 20 22 66 69 6e 64 5f | 6e 65 78 74 22 2c 0a 09 |= "find_|next",..|
|00000300| 2a 6c 6f 63 3b 0a 0a 20 | 20 20 6c 6f 63 20 3d 20 |*loc;.. | loc = |
|00000310| 73 74 72 73 74 72 28 73 | 75 62 73 74 72 2c 73 74 |strstr(s|ubstr,st|
|00000320| 72 29 3b 0a 20 20 20 69 | 66 20 28 6c 6f 63 20 3d |r);. i|f (loc =|
|00000330| 3d 20 4e 55 4c 4c 29 0a | 09 2f 2a 20 73 74 72 69 |= NULL).|./* stri|
|00000340| 6e 67 20 77 61 73 20 6e | 6f 74 20 66 6f 75 6e 64 |ng was n|ot found|
|00000350| 20 2a 2f 3b 0a 20 20 20 | 65 6c 73 65 0a 20 20 20 | */;. |else. |
|00000360| 20 20 20 20 20 2f 2a 20 | 6c 6f 63 20 70 6f 69 6e | /* |loc poin|
|00000370| 74 73 20 74 6f 20 73 74 | 61 72 74 20 6f 66 20 73 |ts to st|art of s|
|00000380| 75 62 73 74 72 20 69 6e | 20 73 74 72 20 2d 2d 20 |ubstr in| str -- |
|00000390| 27 66 27 20 69 6e 20 74 | 68 69 73 20 63 61 73 65 |'f' in t|his case|
|000003a0| 20 2a 2f 3b 0a 0a 2f 2a | 2a 4a 61 6d 65 73 20 52 | */;../*|*James R|
|000003b0| 6f 62 69 6e 73 6f 6e 2a | 2a 2a 2a 2a 2a 2a 2a 2a |obinson*|********|
|000003c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 20 20 |********|****** |
|000003d0| 20 20 20 20 20 20 20 20 | 20 20 0a 20 20 22 49 66 | | . "If|
|000003e0| 20 61 20 66 61 74 61 6c | 20 65 72 72 6f 72 20 6f | a fatal| error o|
|000003f0| 63 63 75 72 73 2c 20 74 | 68 65 20 70 72 6f 67 72 |ccurs, t|he progr|
|00000400| 61 6d 20 73 68 6f 75 6c | 64 20 6e 6f 74 20 62 65 |am shoul|d not be|
|00000410| 20 61 6c 6c 6f 77 65 64 | 20 74 6f 20 63 6f 6e 74 | allowed| to cont|
|00000420| 69 6e 75 65 2e 22 0a 20 | 2d 2d 20 4f 72 61 63 6c |inue.". |-- Oracl|
|00000430| 65 20 50 72 6f 2a 43 20 | 55 73 65 72 27 73 20 47 |e Pro*C |User's G|
|00000440| 75 69 64 65 20 20 20 20 | 20 20 20 20 20 2a 2a 2a |uide | ***|
|00000450| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 6a 61 6d 65 73 2d |********|**james-|
|00000460| 72 6f 62 69 6e 73 6f 6e | 40 75 69 6f 77 61 2e 65 |robinson|@uiowa.e|
|00000470| 64 75 2a 2a 2f 0a 0a 0a | 0a 0a 0a 0a |du**/...|.... |
+--------+-------------------------+-------------------------+--------+--------+